package org.nepu.scr.indexrate.vo.drillingrate.keydevice.wellcontrolsystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.InputTerminalConverter;
import org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem.InputTerminal;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class PressureRegulator {

    //阻流压井管汇公称主通径（mm）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "main_diameter")
    InputTerminal mainDiameter;

    //额定工作压力（MPa）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "nominal_pressure")
    InputTerminal nominalPressure;

}
